package com.qianya.model.pojo.login.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 机构
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LoginOrganization对象", description="机构")
public class LoginOrganizationQO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ORG_ID", type = IdType.UUID)
    private String orgId;

    @ApiModelProperty(value = "机构名称")
    @TableField("ORG_NAME")
    private String orgName;

    @ApiModelProperty(value = "上级机构")
    @TableField("PAR_ORG_ID")
    private String parOrgId;

    @TableField("ORG_CREATE_TIME")
    private Date orgCreateTime;

    @TableField("ORG_UPDATE_TIME")
    private Date orgUpdateTime;

    @TableField("ORG_CREATE_ID")
    private String orgCreateId;

    @TableField("ORG_UPDATE_ID")
    private String orgUpdateId;

    @ApiModelProperty(value = "0未删1删除")
    @TableField("ORG_STATUS")
    private Boolean orgStatus;



}
